package com.bw.broker.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bw.po.TbHouseBroker;
import com.bw.result.ResultVo;
import com.bw.vo.BrokerHouseNumVo;
import com.bw.vo.IdVo;
import com.bw.vo.LoginVo;
import com.bw.vo.TbHouseBrokerVo;

import java.util.Set;

/**
* @author 25728
* @description 针对表【tb_house_broker(经纪人)】的数据库操作Service
* @createDate 2023-11-11 10:30:24
*/
public interface TbHouseBrokerService extends IService<TbHouseBroker> {

    ResultVo add(TbHouseBrokerVo tbHouseBrokerVo);

    ResultVo update(TbHouseBrokerVo tbHouseBrokerVo);

    ResultVo deleted(TbHouseBrokerVo tbHouseBrokerVo);

    ResultVo list(TbHouseBrokerVo tbHouseBrokerVo);

    TbHouseBrokerVo ById(IdVo idVo);

    Set getByCountyId(Integer countyId);

    ResultVo getByName(String brokerName);

    ResultVo sendCode(LoginVo loginVo);

    ResultVo login(LoginVo loginVo);

    int subtractBrokerHouse(BrokerHouseNumVo brokerHouseNumVo);

    int appendBrokerHouse(BrokerHouseNumVo brokerHouseNumVo);

    ResultVo corporationList();
}
